<p class="Head1"><help:link Id="66394">QBColor Function [Runtime]</help:link></p>
<p class="Paragraph">Returns the <help:link Id="66436" Eid="rgb">RGB</help:link> color code of the color passed as a color value via an older MS-DOS based programming system.</p>
<p class="Paragraph">ColorNumber: Any integer expression that specifies the color value of the color passed from an older MS-DOS based programming system.</p>
<p class="Paragraph"><span class="T1">ColorNumber</span> can be assigned the following values:</p>
<p class="Paragraph">0 : Black</p>
<p class="Paragraph">1 : Blue</p>
<p class="Paragraph">2 : Green</p>
<p class="Paragraph">3 : Cyan</p>
<p class="Paragraph">4 : Red</p>
<p class="Paragraph">5 : Magenta</p>
<p class="Paragraph">6 : Yellow</p>
<p class="Paragraph">7 : White</p>
<p class="Paragraph">8 : Gray</p>
<p class="Paragraph">9 : Light Blue</p>
<p class="Paragraph">10 : Light Green</p>
<p class="Paragraph">11 : Light Cyan</p>
<p class="Paragraph">12 : Light Red</p>
<p class="Paragraph">13 : Light Magenta</p>
<p class="Paragraph">14 : Light Yellow</p>
<p class="Paragraph">15 : Bright White</p>
<p class="Paragraph">This function is used only to convert from older MS-DOS based BASIC applications that use the above color codes. The function returns a long integer value indicating the color to be used in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> IDE.</p>